package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * Created by Ellis.Li on 2017/5/12.
 */
public class BalanceOrderInfo extends BaseModel<BalanceOrderInfo> {

    /** 余额订单ID*/
    public String balance_order_id;
    /** 余额订单编号*/
    public String balance_order_no;
    /** 余额订单状态ID*/
    public String balance_order_status_id;
    /** 余额订单状态名称*/
    public String balance_order_status_name;
    @Override
    public BalanceOrderInfo parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            balance_order_id = jsonObject.optString("balance_order_id");
            balance_order_no = jsonObject.optString("balance_order_no");
            balance_order_status_id = jsonObject.optString("balance_order_status_id");
            balance_order_status_name = jsonObject.optString("balance_order_status_name");
            return this;
        }
        return null;
    }
}
